package com.test.future;

/**
 * 真实数据模型
 * @author xuguangqiao
 *
 */
public class RealData implements Data {

	protected final String result;

	public RealData(String result) {
		StringBuffer sb = new StringBuffer();
		for (int i = 0; i < 10; i++) {
			sb.append(result);
		}
		try {
			Thread.sleep(100);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}

		this.result = sb.toString();
	}

	public String getResult() {
		return result;
	}

}
